local prophet_skill = fk.CreateSkill {
  name = "prophet_skill&",
  mode_skill = true,
}

Fk:loadTranslationTable{
  ["prophet_skill&"] = "先驱",
  [":prophet_skill&"] = "回合开始时，你可弃一枚“先驱”，将手牌摸至4张。",
  ["prophet"] = "先驱",
  ["@!prophet"] = "先驱",
  [":@!prophet"] = "回合开始时，你可弃一枚“先驱”，将手牌摸至4张。",
}

prophet_skill:addEffect(fk.TurnStart, {
  anim_type = "drawcard",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(prophet_skill.name) and player:getMark("@!prophet") > 0
  end,
  on_use = function(self, event, target, player, data)
    player.room:removePlayerMark(player, "@!prophet")
    local n = 4 - player:getHandcardNum()
    player:drawCards(n, prophet_skill.name)
  end,
})

return prophet_skill